<template>
	<div class="loginWrap">
		<form>
			<h1>登录</h1>
			<div class="">
				<input type="text" />
			</div>
			<div class="">
				<input type="text" />
			</div>
			<div class="">
				<button @click="login">登录</button>
			</div>
		</form>
	</div>
</template>

<script>
	export default {
		name: 'login',
		methods:{
			login(){
				this.$router.push('/')
			}
		}
	}
</script>

<style lang="scss" scoped>
	form{
		margin: 0 auto;
	}
</style>
